package com.derive.education_service.web.admin.bean.dto;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ToString
public class AdminUpDto {

    @NotNull(message = "编辑id不能为空")
    private Integer adminId;

    /**
     * 用户昵称
     */
    @NotBlank(message = "用户昵称不能为空")
    private String adminName;

    /**
     * 账户简介
     */
    @NotBlank(message = "账户简介不能为空")
    private String userInfo;
}
